/*
 * @Author: 马思宁 598138645@qq.com
 * @Date: 2024-04-29 08:33:05
 * @LastEditors: 马思宁 598138645@qq.com
 * @LastEditTime: 2024-05-11 17:36:19
 * @FilePath: \v-koa\src\routes\captchaImage.router.js
 * @Description: 
 */
const KoaRouter = require("koa-router");
const { create, showSvg } = require('../controller/captchaImage.controller')

const captchaImageRouter = new KoaRouter({ prefix: "/captchaImage" });

captchaImageRouter.get("/",create);
// 将svg渲染出来，方便接口文档测试
captchaImageRouter.post("/svg",showSvg);

module.exports = captchaImageRouter;